﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Century.Web.UI.MVC;
using Century.Web.Security.Attributes;



namespace Century.Admin.Controllers
{
    public class AdminAreaController : CenturyAdminBaseController
    {
        //
        // GET: /Admin/Home/
        [Authorization(Group = "", Name = "AdminHomePage")]
        public ActionResult Index(string cntryCode, string langCode)
        {Century.Common.UI.MVC.SitePathHandlerController
            ViewBag.Message = "Welcome to Admin Area" ;
            return View(Token);
        }

        [Authorization(Group = "", Name = "Administration")]
        public void Reload(string id)
        {
            Century.Business.Repository.PersistDataUpdater.ClearCurrentSiteCache(id);
        }
    }
}
